package com.hdaccp.letting.dao;

import com.hdaccp.letting.entity.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RolePermissionDao {
    public List<Integer> getPermissionByRoleId(long roleid) ;
    public void del(long roleid) ;
    public void save(@Param("roleid") long roleid, @Param("permissionid") long permissionid) ;
    public List<Permission> queryByRoleId(long roleid) ;

}
